package by.grsu.transport.model;

import java.sql.Time;

public class RouteItem {
	
	private int id;
	private Station station;
	private Time departureTime;
	private Time timeOfArrival;
	private Route route;
	
	public RouteItem() {}
	
	public Station getStation() {
		return station;
	}
	public void setStation(Station station) {
		this.station = station;
	}
	public Time getDepartureTime() {
		return departureTime;
	}
	public void setDepartureTime(Time departureTime) {
		this.departureTime = departureTime;
	}
	public Time getTimeOfArrival() {
		return timeOfArrival;
	}
	public void setTimeOfArrival(Time timeOfArrival) {
		this.timeOfArrival = timeOfArrival;
	}
	public Route getRoute() {
		return route;
	}
	public void setRoute(Route route) {
		this.route = route;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

}